package org.yn.user.mapper;

import org.apache.ibatis.annotations.Param;
import org.yn.base.mapper.IBaseMapper;
import org.yn.user.domain.User;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yn
 * @since 2023-08-26
 */
public interface UserMapper extends IBaseMapper<User> {

    User selectByPhone(String phone);

    int selectByNameOrEmail(@Param("username") String username,@Param("email") String email);
}
